package com.lgl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lgl.dto.RoleDto;
import com.lgl.entity.Role;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {

    List<String> selectRoleKeyByUserId(Long userId);

    List<Role> selectRoleByUserId(Long id);

    void updateStatusByRoleId(RoleDto roleDto);
}

